@c-red: #A92123;
@c-gray: #7A7A7A;
.page-login {
  .login-btn {
    width: 100%;
  }
  .footer-actions {
    margin-top: 20px;
    a {
      color: @c-gray;
      font-size: 14px;
      text-decoration: underline;
      &.register-btn{
        color: @c-red;
      }
    }
  }
}

.page-register {
  .form-group-sms {
    .success-info {
      font-size: 12px;
      clear: both;
      padding-top: 5px;
    }
  }
  .input-telephone {
    width: 53%;
  }
  .btn-sms {
    width: 45%;
    height: 48px;
    float: right;
    padding-top: 0;
    .btn {
      height: 48px;
      width: 100%;
      line-height: 48px;
      background: #fff;
      border: 1px solid @c-red;
      color: #A92123;
      font-size: 16px;
      &.disabled {
        color: @c-gray;
        border: 1px solid @c-gray;
      }
    }
  }
  .btn-register {
    width: 100%;
    margin-top: 10px;
  }
  .info {
    color: #666;
  }
  .register-agreement {
    color: @c-red;
    text-decoration: underline;
  }
}

.page-usercenter {
  background: rgb(248, 248, 248);
  .basic-info {
    height: 200px;
    background-image: url("../images/bg_profile.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-top: 20px;
    text-align: center;
    .avatar {
      text-align: center;
      img {
        width: 60px;
      }
    }
    .info {
      color: #FFF;
      text-align: center;
      font-size: 12px;
      padding: 12px 0 0;
      a {
        color: #FFF;
      }
      .username {
        margin-bottom: 8px;
      }
    }
    .separate-line {
      width: 100%;
      height: 2px;
    }
    .order-status {
      table {
        table-layout: fixed;
        width: 100%;
        td {
          width: 25%;
          a {
            display: block;
            color: #FFF;
            font-size: 13px;
            .count {
              font-size: 14px
            }
          }
        }
      }
    }
  }
  .menu {
    background: #FFF;
    padding: 20px 0;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    table {
      table-layout: fixed;
      width: 100%;
      td {
        width: 25%;
        vertical-align: middle;
        a {
          display: block;
          color: #6A6A6A;
          text-align: center;
          .menu-icon {
            width: 50%;
          }
          .menu-text {
            display: block;
            font-size: 12px;
            margin-top: 8px;
          }
        }
      }
    }
  }
  .user-datas {
    margin-top: 10px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    background: #FFF;
    .data-items {
      .data-item {
        height: 42px;
        position: relative;
        padding-left: 50px;
        font-size: 12px;
        line-height: 40px;
        a {
          display: block;
        }
        .item-icon {
          position: absolute;
          display: block;
          height: 20px;
          width: 20px;
          top: 11px;
          left: 15px;
          background-size: 100% 100%;
        }
        .item-content {
          display: block;
          border-bottom: 1px solid #DEDEDE;
          padding-right: 30px;
          &.no-border {
            border-bottom: none;
          }
        }
        .item-name {}
        .item-data {
          float: right;
        }
        .icon-arrow-right {
          position: absolute;
          right: 10px;
          top: 12px;
        }
      }
    }
  }
  .user-logout {
    font-size: 14px;
    padding: 20px 15px;
    .username {
      color: #4C4C4C;
    }
    .separater {
      color: #CCCCCC;
      margin: 0 10px;
    }
    a {
      color: #999999;
    }
  }
}

.page-profile {
  .form-group {
    &.avatar{
      height: 100px;
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      padding-right: 20px;
      padding-top: 24px;
      .label{
        line-height: 54px;
        margin-left: 30px;
        color: #666666;
      }
      .avatar-wrap{
        float: right;
        width: 54px;
        height: 54px;
        img{
          width: 100%;
          height: 100%;
        }
      }
    }

    &.gender{
      height: 48px;
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      .label{
        line-height: 48px;
        margin-left: 15px;
        color: #666666;
      }
      .gender-image{
        display: block;
        background-size: 100%;
        background-repeat: no-repeat;
        float: right;
        width: 48px;
        height: 48px;
        background-position: center;
        &.male{
          background-image: url("../images/icon-male.png");
          background-size: 18px 18px;
        }
        &.female{
          background-image: url("../images/icon-female.png");
          background-size: 16px 22px;
        }

      }
    }
    &.address {
      height: 48px;
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      padding-right: 20px;
      .add-address{
        width: 20px;
        height: 20px;
        float: right;
        background-size: 100% 100%;
        margin-top: 11px;
      }
      .address-detail{
        text-align: right;
        float: right;
        line-height: 46px;

        width: 200px;
        overflow: hidden;
        text-overflow:ellipsis;
        -ms-text-overflow: ellipsis; 
        -o-text-overflow: ellipsis;
        white-space:nowrap;
      }
    }
    &.shop-type{
      .label{
        width: 110px;
        height: 42px;
        line-height: 42px;
        display: inline-block; 
        padding: 0;
        margin-left: 15px;
        .star{
          color: #A92123;
          margin-right: 10px;
          vertical-align: middle;
        }
      }
      .input-select{
        font-size: 12px;
      }
    }
    &.liscence {
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      display: block;
      padding: 10px;
      .liscence-image-wrap {
        position: relative;
        margin-top: 50px;
        border: 1px dashed lightgray;
        min-height: 200px;
        background: #F5F5F5;
        .add-btn {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto;
          height: 50px;
          width: 100px;
          text-align: center;
          font-size: 14px;
          color: #979797;
          .icon-plus {
            display: block;
            font-size: 30px;
            text-align: center;
          }
        }

        img{
          width: 100%;
        }
      }
    }
    &.shop{
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      display: block;
      padding: 10px;
      img{
        width: 100%;
      }
      .clear-shop-images{
        width: 100px;
        height: 25px;
        font-size: 12px;
        background-color: #F1EBEB;
        border-radius: 5px;
        text-align: center;
        line-height: 23px;
        position: absolute;
        top: 15px;
        right: 15px;
        color: #000000;
        border: 1px solid #979797;
      }
      .shop-images-content{
        position: relative;
        margin-top: 50px;
      }
      .shop-item-img{
        width: 100px;
        height: 100px;
        display: block;
        float: left;
        margin: 3px;
      }
      .shop-image-wrap {
        border: 1px dashed lightgray;
        display: block;
        float: left;
        width: 100px;
        height: 100px;
        margin: 3px;
        background: #F5F5F5;
        .add-btn {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto;
          height: 50px;
          width: 100%;
          text-align: center;
          font-size: 14px;
          color: #979797;
          .icon-plus {
            display: block;
            font-size: 30px;
            text-align: center;
          }
        }
      }
      @media only screen and(max-width:320px){
        .shop-item-img{
          width: 82px;
          height: 82px;
        }
        .shop-image-wrap{
          width: 82px;
          height: 82px;
        }
      }
      @media only screen and(min-width:414px){
        .shop-item-img{
          width: 114px;
          height: 114px;
        }
        .shop-image-wrap{
          width: 114px;
          height: 114px;
        }
      }
    }
    &.password {
      height: 48px;
      border: 1px solid lightgray;
      border-radius: 3px;
      background: #fff;
      padding-right: 20px;
      .icon-arrow-right {
        position: absolute;
        right: 10px;
        top: 14px;
      }
    }
  }

  .btn-submit {
    width: 100%;
  } 
}

.page-address-add{
  .form-group.area{
    height: 84px;
    background: #FFF;
    border: 1px solid lightgray;
    border-radius: 3px;
    display: table;
    width: 100%;
    padding-left: 10px;
    .label{
      display: table-cell;
      vertical-align: top;
    }
    &.area{
      label{
        width: 200px;
      }
      textarea{
        width: 100%;
        height: 80px;
        border: none;
        padding-right: 10px;
        text-align: right;
        color: #000;
      }
    }
  }

  .form-group.default{
    .bhz-checkbox {
      margin-top: 12px;
    }
    .text{
      margin-top: 12px;
    }
  }
}

.page-password{
  padding: 10px 16px;

  .btn-next{
    width: 100%;
  }
  .step-wrap{
    background: #DDDDDD;
    font-size: 12px;

    color: #666666;
    line-height: 32px;
    margin-bottom: 18px;

    table{
      width: 100%;
      td{
        position: relative;
        text-align: center;
      }
      .active{
        color: @c-red;
      }
    }
  }

  .content-wrap{
    .phonetext{
      color: #646464;
      font-size: 14px;
    }
    .instruction{
      color: #959595;
      font-size: 12px;
    }

    .btn-sms{
      font-size: 14px;
      float: right;
      marbin-bottom: 20px;
      .btn{
        font-size: 14px;
        height: 36px;
        line-height: 36px;
        width: 120px;
      }
    }

    .btn-wrap{
      clear: both;
    }
  }
}

.page{
  .menu-tab{
    height: 45px;
    .menu-item{
      display: block;
      height: 45px;
      width: 50%;
      float: left;
      text-align: center;
      line-height: 44px;
      background: #FFF;
      border-bottom: 1px solid #ccc;

      .text{
        line-height: 40px;
        display: inline-block;
        height: 42px;
      }
      &.active{
        .text{
          border-bottom: 1px solid #A92123;
        }
      }
    }
    .separater{
      position: absolute;
      display: block;
      border-left: 1px solid #ccc;
      height: 20px;
      top: 12px;
      left: 50%;
    }
  }
}

.page-wishlist{

  .content{

    .product-list-wrap{
      background: none;
      padding: 0;
      .product-item{
        padding-left: 90px;
      }
    }

    .btn-remove{
      border: 1px solid #C6C6C6;
      padding: 1px 10px;
      float: right;
      font-size: 11px;
      color: #919191;
      margin-right: 10px;
    }

    .item{
       border-top: 1px solid #ccc;
       border-bottom: 1px solid #ccc;
       margin: 10px 0;
       background: #FFF;
       height: 130px;
       padding-top: 20px;
       padding-right: 20px;
    }

    .product-list{
      .image{
        border: none;
        top: 25px;
        margin-left: 10px;
      }
      .info{
        position: relative;
        height: 100%;
      }
      .name{
        color: #131313;
      }
      .data{
        color: #AAAAAA;
        margin-top: 5px;
        .deliver{
          float: left;
        }
        .minimal{
          float: right;
          margin-right: 5px;
        }
      }
      .actions{
        display: block;
        margin-top: 5px;
        position: absolute;
        bottom: 10px;
        width: 100%;

        .price{
          color: @c-red;
          float: left;
        }
      }
    }

    .vendor-list-wrap{
      .vendor-list{
        .vendor-item{
          padding: 10px;
          .vendor-item-link{
            border: none;
          }
        }
      }
    }
  }
}

.empty{
  text-align: center;
  padding-top: 100px;
}

.page-coupon{
  padding: 10px;
  .coupon-item{
    height: 140px;
    background: url('../images/bg-coupn.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    margin-bottom: 20px;
    .hoster{
      color: @c-red;
      position: absolute;
      top: 30px;
      left: 15px;
    }
    .price{
      color: @c-red;
      position: absolute;
      top: 26px;
      left: 40px;
      font-size: 26px;
      .value{
        font-size: 60px;
      }
    }
    .details{
      position: absolute;
      top: 26px;
      right: 20px;
      text-align: center;
      width: 120px;
      height: 62px;
      line-height: 30px;
      letter-spacing: 2px;

      .center-line{
        position: absolute;
        width: 100%;
        height: 2px;
        background: url("../images/coupon-center-line.png");
        background-size: 100%;
      }
    }
    .footer{
      position: absolute;
      bottom: 0;
      width: 100%;
      text-align: right;
      height: 30px;
      line-height: 30px;
      font-size: 12px;
      color: #232323;
      padding: 0 10px;
      .footer-line{
        width: 100%;
        height: 2px;
        margin: 0 auto;
        background: url("../images/coupon-footer-line.png");
        background-size: 100%;
      }
    }
  }

}